using System;
using System.Collections;
using System.Collections.Generic;

using QLKS.DataLayer.Base;

namespace QLKS.DataLayer.BusinessObjects
{
    public partial class ThamSo : BusinessBase<int>
    {
        #region Declarations

		private decimal? _soKhachToiDa = null;
		private decimal? _heSoPhuThu = null;
		
		
		
		#endregion

        #region Constructors

        public ThamSo() { }

        #endregion

        #region Methods

        public override int GetHashCode()
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            
            sb.Append(this.GetType().FullName);
			sb.Append(_soKhachToiDa);
			sb.Append(_heSoPhuThu);

            return sb.ToString().GetHashCode();
        }

        #endregion

        #region Properties

		public virtual decimal? SoKhachToiDa
        {
            get { return _soKhachToiDa; }
			set
			{
				OnSoKhachToiDaChanging();
				_soKhachToiDa = value;
				OnSoKhachToiDaChanged();
			}
        }
		partial void OnSoKhachToiDaChanging();
		partial void OnSoKhachToiDaChanged();
		
		public virtual decimal? HeSoPhuThu
        {
            get { return _heSoPhuThu; }
			set
			{
				OnHeSoPhuThuChanging();
				_heSoPhuThu = value;
				OnHeSoPhuThuChanged();
			}
        }
		partial void OnHeSoPhuThuChanging();
		partial void OnHeSoPhuThuChanged();
		
        #endregion
    }
}
